<!--navbar-->
<div class="navbar">
    <div class="navbar-inner">
        <div class="left">
            <a href="#" class="link back">
                <i class="icon icon-return"></i>
            </a>
        </div>
        <div class="center">云果</div>
    </div>
</div>
<div class="pages navbar-through">
	<div class="page no-toolbar" data-page="mineEditAdres">
		<div class="page-content">
			<!--S list-->
			<input type="hidden" name="city_1" value="{$this->address['city']}">
			<input type="hidden" name="area_1" value="{$this->address['area']}">
			<form action="{url:/yunucenter/address_edit}" method="post" class="ajax-submit" name="editAdres_form">
	        <div class="list-block adres-form">
	        	<ul>
	        		<li class="item-inner">
	        			<div class="item-title label">收货人</div>
	        			<div class="item-input">
							<input type="hidden" name="id" value="{$this->address['id']}">
							<input type="hidden" name="is_default" value="{$this->address['is_default']}">
	        				<input type="text" placeholder="姓名" name="accept_name" value="{$this->address['accept_name']}">
	        			</div>
	        		</li>
	        		<li class="item-inner">
	        			<div class="item-title label">电话</div>
	        			<div class="item-input">
	        				<input type="text" placeholder="电话" name="mobile" value="{$this->address['mobile']}">
	        			</div>
	        		</li>
	        		<li class="item-inner">
	        			<div class="item-title label">省份</div>
	        			<div class="item-input dropdown adres-picker">
							<select name="province" class="prov">
								<option value="">请选择省份</option>
								{foreach:$items = $this->provinces}
								<option value="{$item['area_id']}" {if:$this->address['province'] == $item['area_id']}selected="selected"{/if}>{$item['area_name']}</option>
								{/foreach}
							</select>
	        			</div>
	        		</li>
					<li class="item-inner">
						<div class="item-title label">城市</div>
						<div class="item-input dropdown adres-picker">
							<select name="city" class="city">
								<option value="">请选择城市</option>
							</select>
						</div>
					</li>
					<li class="item-inner">
						<div class="item-title label">区域</div>
						<div class="item-input dropdown adres-picker">
							<select name="area">
								<option value="">请选择区域</option>
							</select>
						</div>
					</li>
	        		<li class="align-top">
	        			<div class="item-inner">
		        			<div class="item-title label">详细地址</div>
		        			<div class="item-input">
		        				<textarea name="address">{$this->address['address']}</textarea>
		        			</div>	
	        			</div>
	        		</li>
	        	</ul>
				<input class="button button-big color-orange button-save" style="text-align: center;margin:0" value="保存" type="submit">
	        </div>
			</form>
	        <!--E List-->	
		</div>
	</div>
</div>